﻿@model CERT.Models.LocalPasswordModel

<div class="row">
    <div class="col-md-12">
        <div class="jumbotron center">

            <p>
                You do not have a local password for this site. Add a local
    password so you can log in without an external login.
            </p>

            @using (Html.BeginForm("Manage", "Account"))
            {
                @Html.AntiForgeryToken()
                @Html.ValidationSummary()
            
                <fieldset>
                    <legend>Set Password Form</legend>
                    <ol>
                        <li>
                            @Html.LabelFor(m => m.NewPassword)
                            @Html.PasswordFor(m => m.NewPassword, new { @class = "password_test" })
                        </li>
                        <li>
                            @Html.LabelFor(m => m.ConfirmPassword)
                            @Html.PasswordFor(m => m.ConfirmPassword)
                        </li>
                    </ol>
                    <input type="submit" value="Set password" />
                </fieldset>
            }
            <script>
                jQuery(function ($) {
                    $(".password_test").passStrengthify();
                });

            </script>
        </div>
    </div>
</div>
